﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MembershipUser>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>删除用户</h2>

    <h3>确定要删除这个用户吗？</h3>
    <fieldset>
        <legend>用户详情</legend>
        
            <p>        
        <div class="display-label">用户名</div>
        <div class="display-field"><%: Model.UserName%></div>
            </p>
        
            <p>        
        <div class="display-label">是否在线</div>
        <div class="display-field"><%: Model.IsOnline%></div>
            </p>
        
            <p>        
        <div class="display-label">上次登录时间</div>
        <div class="display-field"><%: Model.LastLoginDate%></div>
            </p>
        
            <p>        
        <div class="display-label">用户创建时间</div>
        <div class="display-field"><%: Model.CreationDate%></div>
            </p>
            
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="删除" /> |
		    <%: Html.ActionLink("返回", "Index") %>
        </p>
    <% } %>
</asp:Content>
